package com.cet.designpatterns.state;

/**
 * @program: algorithm
 * @description: 奖品发放完了状态
 * @author: 陈恩涛
 * @create: 2021-09-26 23:18
 **/
public class DispenseOutState extends State {

    private RaffleActivity activity;

    public DispenseOutState(RaffleActivity activity) {
        this.activity = activity;
    }

    @Override
    public void deductPoints() {
        System.out.println("奖品发放完了，请下次再参加！");
    }

    @Override
    public boolean raffle() {
        System.out.println("奖品发放完了，请下次再参加！");
        return false;
    }

    @Override
    public void dispensePrize() {
        System.out.println("奖品发放完了，请下次再参加！");
    }
}
